Skip to content

Removing public m from PureJuMP wrappers#422

Merged
tmigot merged 1 commit into
JuliaSmoothOptimizers:mainfrom
arnavk23:fix-421-arglin-m
Jun 5, 2026
Merged

Removing public m from PureJuMP wrappers#422
tmigot merged 1 commit into
JuliaSmoothOptimizers:mainfrom
arnavk23:fix-421-arglin-m

Conversation

@arnavk23
Copy link
Copy Markdown
Contributor

@arnavk23 arnavk23 commented Jun 4, 2026

@tmigot Fixes #421

… by removing public `m` from PureJuMP wrappers
Copilot AI review requested due to automatic review settings June 4, 2026 14:47
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR simplifies the arglin* problem constructors by removing the configurable m keyword argument and always using m = 2n observations.

Changes:

  • Removed the m keyword argument (and its validation/warning) from arglina, arglinb, and arglinc.
  • Hard-coded the number of observations to m = 2 * n in each constructor.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/PureJuMP/arglinc.jl Removes configurable m; forces m = 2*n unconditionally.
src/PureJuMP/arglinb.jl Removes configurable m; forces m = 2*n unconditionally.
src/PureJuMP/arglina.jl Removes configurable m; forces m = 2*n unconditionally.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/PureJuMP/arglinc.jl
Comment thread src/PureJuMP/arglinb.jl
Comment thread src/PureJuMP/arglina.jl
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.52%. Comparing base (2ada450) to head (4dc1698).
⚠️ Report is 53 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #422       +/-   ##
===========================================
- Coverage   99.80%   57.52%   -42.28%     
===========================================
  Files        1084     1139       +55     
  Lines       12319    13489     +1170     
===========================================
- Hits        12295     7760     -4535     
- Misses         24     5729     +5705     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@tmigot tmigot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tmigot tmigot merged commit 6cc8f9e into JuliaSmoothOptimizers:main Jun 5, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implementation difference arglina, arglinb, arglinc

3 participants